<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<head>
	<meta name="layout" content="main" />
	<title>编辑用户</title>
</head>

<body>

	<div class="body">
		<h1>编辑用户${hosUser.id}${hosUser.username}</h1>
		<s:form  action="adminUpdate" method="post" theme="simple">
			<input type="hidden" name="hosUser.id" value="${hosUser.id}" />
			<input type="hidden" name="objectName" value="HosUser" />
			
			<div class="dialog">
				<table>
				<tbody>
					<tr >
						<td ><label for="username">登录名称:</label></td>
						<td>
							<input type="text" id="username" name="hosUser.username" value="${hosUser.username}"/> <span class="stars">*</span>
						</td>
					</tr>
					<tr >
						<td ><label for="userRealName">全称:</label></td>
						<td  >
							<input type="text" id="userRealName" name="hosUser.userRealName" value="${hosUser.userRealName}"/>
						</td>
					</tr>
					<tr >
						<td ><label for="passwd">密码:</label></td>
						<td >
							<input type="password" id="passwd" name="hosUser.passwd" value=""/> <span class="stars">*</span>
						</td>
					</tr>				
					<tr >
						<td ><label for="description">描述:</label></td>
						<td  >
							<input type="text" id="description" name="hosUser.description" value="${hosUser.description}"/>
						</td>
					</tr>
					<tr >
						<td ><label for="email">邮箱:</label></td>
						<td >
							<input type="text" id="email" name="hosUser.email" value="${hosUser.email}"/>
						</td>
					</tr>	
				</tbody>
				</table>
			</div>

			<div class="buttons">
				<input type="submit" value="提交"/>
			</div>
</s:form>
	</div>
</body>
